package mbalib.docviewer
{
	import flash.display.*;
	import flash.text.*;
	
	public class BlankPage extends Sprite
	{
		private var _txt:TextField;
		private var _pageth:int;
		
		public function BlankPage()
		{
			return;
		}// end function
		
		public function set error(param1:Boolean) : void
		{
			if (param1)
			{
				this._txt.text = "该文档第 - " + this._pageth + " - 页加载错误，您可以下载后查看";
			}
			return;
		}// end function
		
		public function set pageth(param1:int) : void
		{
			if (param1)
			{
				this._pageth = param1;
			}
			return;
		}// end function
		
		public function get pageth() : int
		{
			if (!this._pageth)
			{
			}
			return 0;
		}// end function
		
		public function setSize(param1:Number, param2:Number) : void
		{
			var _loc_3:* = new Sprite();
			var _loc_4:* = _loc_3.graphics;
			_loc_3.graphics.lineStyle(1, 0);
			_loc_4.beginFill(16645629, 1);
			_loc_4.drawRect(0, 0, param1, param2);
			_loc_4.endFill();
			this._txt = new TextField();
			this._txt.selectable = false;
			this._txt.autoSize = "left";
			this._txt.text = "正在加载第 - " + this._pageth + " - 页，请稍候...";
			_loc_3.addChild(this._txt);
			var _loc_5:int = 20;
			this._txt.y = 20;
			this._txt.x = _loc_5;
			addChild(_loc_3);
			return;
		}// end function
		
	}
}
